package com.shengyin.ec.model.entity;

import java.io.Serializable;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="chainCompany")
@DiscriminatorValue("3")
public class ChainCompany extends Company implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ManyToOne()
	private ClusterCompany clusterCompany;

	public ClusterCompany getClusterCompany() {
		return clusterCompany;
	}

	public void setClusterCompany(ClusterCompany clusterCompany) {
		this.clusterCompany = clusterCompany;
	}

	
	
	
	
}
